package com.toune.movie.mvp.presenter;


import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.VarietyDetailActivity;
import com.toune.movie.mvp.contract.VarietyDetailContract;
import com.toune.movie.mvp.model.VarietyDetailModel;
import com.toune.movie.vo.VarietyDetailVo;

/**
 * Created by Administrator on 2018/5/15.
 */

public class VarietyDetailPresenter extends BasePresenterImpl<VarietyDetailActivity> implements VarietyDetailContract.Presenter {

    VarietyDetailModel varietyDetailModel = new VarietyDetailModel(this);
    @Override
    public void getData(String url,int tag) {
        varietyDetailModel.getData(url,tag);
    }

    @Override
    public void setData(VarietyDetailVo vo) {
        mView.setData(vo);
    }
}
